package pl.javarsovia.javarsovia4android.tmp;

import org.w3c.dom.Element;
import pl.javarsovia.R;
import pl.javarsovia.javarsovia4android.domain.Partner;
import pl.javarsovia.javarsovia4android.xml.parsers.PartnersParser;

import java.util.Arrays;
import java.util.List;

/**
 * @author mgrzechocinski
 * @since 2010-06-25
 */
public class DummyPartnersParser extends PartnersParser {

	@Override
	public List<Partner> unmarshallAll(Element root) {

		Partner javart = new Partner().type("SPONSOR").category("PLATINUM")
				.logoResId(R.drawable.partner_sponsor_javart)
				.websiteUrl("http://www.javart.com.pl");


		Partner google = new Partner().type("SPONSOR").category("GOLD")
				.logoResId(R.drawable.partner_sponsor_google)
				.websiteUrl("http://www.google.pl");

		Partner microsoft = new Partner().type("SPONSOR").category("GOLD")
				.logoResId(R.drawable.partner_sponsor_microsoft)
				.websiteUrl("http://www.microsoft.com/pl/PL/default.aspx");

		Partner azul = new Partner().type("SPONSOR").category("GOLD")
				.logoResId(R.drawable.partner_sponsor_azul)
				.websiteUrl("http://www.azulsystems.com/");

		Partner oracle = new Partner().type("SPONSOR").category("GOLD")
				.logoResId(R.drawable.partner_sponsor_oracle)
				.websiteUrl("http://www.oracle.com/global/pl/index.html");


		Partner adobe = new Partner().type("SPONSOR").category("SILVER")
				.logoResId(R.drawable.partner_sponsor_adobe)
				.websiteUrl("http://www.adobe.com");

		Partner touk = new Partner().type("SPONSOR").category("SILVER")
				.logoResId(R.drawable.partner_sponsor_touk)
				.websiteUrl("http://www.touk.pl");

		Partner itkontrakt = new Partner().type("SPONSOR").category("SILVER")
				.logoResId(R.drawable.partner_sponsor_itkontrakt)
				.websiteUrl("http://www.itkontrakt.pl/");

		Partner epoint = new Partner().type("SPONSOR").category("SILVER")
				.logoResId(R.drawable.partner_sponsor_epoint)
				.websiteUrl("http://www.e-point.pl/");


		Partner tieto = new Partner().type("SPONSOR").category("SILVER")
				.logoResId(R.drawable.partner_sponsor_tieto)
				.websiteUrl("http://www.tieto.pl/");


		Partner sages = new Partner().type("SPONSOR").category("BRONZE")
				.logoResId(R.drawable.partner_sponsor_sages)
				.websiteUrl("http://www.sages.com.pl");

		Partner javatech = new Partner().type("SPONSOR").category("BRONZE")
				.logoResId(R.drawable.partner_sponsor_javatech)
				.websiteUrl("http://www.javatech.com.pl");


		Partner ibm = new Partner().type("TECH").category("PLATINUM")
				.logoResId(R.drawable.partner_tech_ibm)
				.websiteUrl("http://www.ibm.com/pl/pl/");

		Partner istream = new Partner().type("TECH").category("GOLD")
				.logoResId(R.drawable.partner_tech_istream)
				.websiteUrl("http://www.istream.pl/");

		Partner softwaremill = new Partner().type("TECH").category("GOLD")
				.logoResId(R.drawable.partner_tech_softwaremill)
				.websiteUrl("http://www.softwaremill.pl/");

		Partner helion = new Partner().type("TECH").category("GOLD")
				.logoResId(R.drawable.partner_tech_helion)
				.websiteUrl("http://www.helion.pl");

		Partner ovh = new Partner().type("TECH").category("GOLD")
				.logoResId(R.drawable.partner_tech_ovh)
				.websiteUrl("http://www.ovh.pl");

		Partner sun = new Partner().type("TECH").category("GOLD")
				.logoResId(R.drawable.partner_tech_sun)
				.websiteUrl("https://www.suntrainingcatalogue.com/eduserv/client/welcome.do?l=pl_PL");


		Partner dobreprogramy = new Partner().type("MEDIA").category("")
				.logoResId(R.drawable.partner_media_dp)
				.websiteUrl("http://www.dobreprogramy.pl/");

		Partner kampus = new Partner().type("MEDIA").category("")
				.logoResId(R.drawable.partner_media_kampus)
				.websiteUrl("http://radiokampus.waw.pl/");

		return Arrays.asList(javart, google, microsoft, azul, oracle, adobe, touk, itkontrakt, epoint, tieto,
				sages, javatech, ibm, istream, softwaremill, helion, ovh, sun, dobreprogramy, kampus);
	}
}
